OCAMLC=ocamlc
OCAMLFLAGS=-w -14
LDFLAGS=str.cma

EXEC=server

all: $(EXEC)

server:
	$(OCAMLC) $(OCAMLFLAGS) $(LDFLAGS) $@.ml -o $@

.PHONY: clean mrproper

clean:
	rm -rf *.cmo
	rm -rf *.cmi

mrproper: clean
	rm -rf $(EXEC)